#ifndef __UPGRADE_H__
#define __UPGRADE_H__
#include "stdint.h"
#include "dl_io_data.h"
#define LPC_UPGRADE_PACKET_SIZE       512

void upgrade_handel(uint32_t pos,uint8_t* pdata,uint32_t len);
void upgrade(uint8_t* data,uint32_t pos,uint32_t len);
void upgrade2(uint8_t* data,uint32_t pos,uint32_t len);
void send_get_pack(int pos,int len,dl_io_data_t* iodata);

#endif //__UPGRADE_H__

